package com.megvii.koala.net.visitor;

import com.megvii.corelib.net.RequestParam;
import com.megvii.corelib.net.request.MegviiRequest;
import com.megvii.koala.net.Commands;

/**
 * Created by linyue on 15/12/29.
 */
public class UpdateVisitorDetectionRequest implements MegviiRequest
{
    @RequestParam
    public byte[] photo;

    @RequestParam
    public String subject_id;

    @RequestParam
    public String old_photo_id;

    public UpdateVisitorDetectionRequest(byte[] photo, String visitorId, String old_photo_id)
    {
        super();
        this.photo = photo;
        this.subject_id = visitorId;
        this.old_photo_id = old_photo_id;
    }

    @Override
    public String getCommand()
    {
        return Commands.UPDATE_VISITOR_DETECTION;
    }
}
